package dbTools.tableInfo.field.fieldInfo.resolve;

import java.util.ArrayList;
import java.util.List;

import dbTools.tableInfo.field.fieldInfo.resolve.resolvers.RefReslover;
import dbTools.tableInfo.field.fieldInfo.type.Type;

public class InfoResolver {

	public final static List<IResolver> resolvers = new ArrayList<IResolver> ();  
    static{  
    	resolvers.add(new RefReslover());
    }
	public static List<Type> getInfoTypes(String content){
		List<Type> types = new ArrayList<Type>();
		
		for(IResolver resolver: resolvers)
		{
			resolver.resolveContent(types,content);
		}
		
		return types;
	}
}
